package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Systemmenu;
import cn.wolfcode.wms.qo.MenuQueryObject;

import java.util.List;
import java.util.Map;

public interface ISystemmenuService {
    void saveOrUpdate(Systemmenu entity);
    void delete(Long id);
    Systemmenu get(Long id);
    List<Systemmenu> selectall(MenuQueryObject id);


    Systemmenu selectByParentId(Long parentId);

    List<Systemmenu> selectParentMenusByParentId(Long parentId);

    List<Systemmenu> queryAll();

    List<Map<String,Object>> getMenusBySn(String sn);
}
